home *** CD-ROM | disk | FTP | other *** search
- test_grammar
- 1. Parser
- 1.1 Tokens
- 1.1.1 Backslashes
- 1.1.2 Numeric literals
- 1.1.2.1 Plain integers
- 1.1.2.2 Long integers
- 1.1.2.3 Floating point
- 1.1.3 String literals
- 1.2 Grammar
- single_input
- file_input
- expr_input
- eval_input
- funcdef
- simple_stmt
- expr_stmt
- print_stmt
- 1 2 3
- 1 2 3
- 1 1 1
- del_stmt
- pass_stmt
- flow_stmt
- break_stmt
- continue_stmt
- return_stmt
- raise_stmt
- import_stmt
- global_stmt
- exec_stmt
- if_stmt
- while_stmt
- for_stmt
- try_stmt
- suite
- test
- comparison
- binary mask ops
- shift ops
- additive ops
- multiplicative ops
- unary ops
- selectors
- atoms
- classdef
- test_opcodes
- 2. Opcodes
- XXX Not yet fully implemented
- 2.1 try inside for loop
- 2.2 raise class exceptions
- test_operations
- 3. Operations
- XXX Not yet implemented
- test_builtin
- 4. Built-in functions
- test_b1
- __import__
- abs
- apply
- callable
- chr
- cmp
- coerce
- compile
- delattr
- dir
- divmod
- eval
- execfile
- filter
- float
- getattr
- hasattr
- hash
- hex
- id
- int
- len
- long
- map
- max
- min
- test_b2
- oct
- open
- ord
- pow
- range
- input and raw_input
- testing
- testing
- reduce
- reload
- repr
- round
- setattr
- str
- tuple
- type
- vars
- xrange
- test_exceptions
- 5. Built-in exceptions
- AttributeError
- EOFError
- IOError
- ImportError
- IndexError
- KeyError
- KeyboardInterrupt
- (not testable in a script)
- MemoryError
- (not safe to test)
- NameError
- OverflowError
- RuntimeError
- (not used any more?)
- SyntaxError
- SystemError
- (hard to reproduce)
- SystemExit
- TypeError
- ValueError
- ZeroDivisionError
- test_types
- 6. Built-in types
- 6.1 Truth value testing
- 6.2 Boolean operations
- 6.3 Comparisons
- 6.4 Numeric types (mostly conversions)
- 6.4.1 32-bit integers
- 6.4.2 Long integers
- 6.4.3 Floating point numbers
- 6.5 Sequence types
- 6.5.1 Strings
- 6.5.2 Tuples
- 6.5.3 Lists
- 6.5.3a Additional list operations
- 6.6 Mappings == Dictionaries
- test_math
- math module, testing with eps 1e-06
- constants
- acos
- asin
- atan
- atan2
- ceil
- cos
- cosh
- exp
- fabs
- floor
- fmod
- frexp
- hypot
- ldexp
- log
- log10
- modf
- pow
- sin
- sinh
- sqrt
- tan
- tanh
- test_md5
- MD5 test suite:
- OK
- test_pow
- Testing integer mode...
- Testing 2-argument pow() function...
- Testing 3-argument pow() function...
- Testing long integer mode...
- Testing 2-argument pow() function...
- Testing 3-argument pow() function...
- Testing floating point mode...
- Testing 3-argument pow() function...
- The number in both columns should match.
- 3 3
- -5 -5
- -1 -1
- 5 5
- -3 -3
- -7 -7
-
- 3L 3L
- -5L -5L
- -1L -1L
- 5L 5L
- -3L -3L
- -7L -7L
-
- 3.0 3.0
- -5.0 -5.0
- -1.0 -1.0
- -7.0 -7.0
-
- testing...
- test_strop
- Passed all tests.
-